﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OnWork.Admin.Util.Base
{
    /// <summary>
    /// JWT选项配置
    /// </summary>
    public class JWTOptions
    {
        /// <summary>
        /// 配置的KEY
        /// </summary>
        public const string JWT = "JWT";

        /// <summary>
        /// 超级密码 用户验证
        /// </summary>
        public string SuperKey { get; set; } = "longruan@123";

        /// <summary>
        /// 过期分钟数 (默认一天)
        /// </summary>
        public int ExpMinutes { get; set; } = 24 * 60;

        /// <summary>
        /// 是否启用 默认为true
        /// </summary>
        public bool Enable { get; set; } = true;
    }
}